package com.yenlien.traceyun.plant.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.yenlien.traceyun.business.entity.TraceScanEntity;
import com.yenlien.traceyun.business.trace.Trace;

/**
 * 地图设备绑定
 *
 * @author maybe
 * @date 2020年9月10日
 */
@Deprecated
@Entity
@Table(name = "t_plant_soil_equipment")
//@Trace(appName = "plant",stepName = "soil", order = 0, ended = false)
public class SoilEquipment extends TraceScanEntity {
    @Column
    private String soilId;            //地块ID
    @Column
    private String equipmentId;        //设备ID
    @Column
    private String type;                //类型(0:气象站，1：摄像头)

    private String coordinate; //坐标

    private String equipmentName;


    public String getSoilId() {
        return soilId;
    }

    public void setSoilId(String soilId) {
        this.soilId = soilId;
    }

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getType() {
        return type;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }


    public void setType(String type) {
        this.type = type;
    }

    public String getCoordinate() {
        return coordinate;
    }

    public void setCoordinate(String coordinate) {
        this.coordinate = coordinate;
    }
}
